package com.ruoyi.client.pojo.form;

import com.fasterxml.jackson.annotation.JsonAlias;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 更改购物项param
 */
@Data
public class CartUpdateForm {
    @ApiModelProperty(value = "购物车id", required = true, position = 1)
    private Long id;

    @ApiModelProperty(value = "商品数量", position = 2)
    private Long count;

    @ApiModelProperty(value = "是否勾选(0-否,1-是)", position = 3)
    @JsonAlias({"is_checked", "isChecked"})
    private Integer checked;
}